package org.guanmi.btc.browser.service.impl;


import java.util.List;

import org.guanmi.btc.browser.dao.UserDao;
import org.guanmi.btc.browser.domain.entity.User;
import org.guanmi.btc.browser.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;


    //查找所有
    public List<User> findAll() {
        try {
            return userDao.findAll();
        } catch (Exception e) {
            return null;
        }
    }
}
